//表格工具条组件容器
<template>

<div class="tool-block">
    <h2 class="title" v-if='title'>
        {{title}}
    </h2>

    <div class="container">
        <slot></slot>
    </div>
    
</div>

</template>

<script lang='ts'>
import {Component, Prop, Vue} from 'vue-property-decorator'

@Component({})
export default class typeInput extends Vue{
    name:string = 'tool-block'

    @Prop()
    title:string

}


</script>

<style scoped lang='scss'>

.tool-block{
    padding-top: _rem(24px);
}

.title{
    margin-bottom: _rem(6px);
    
    font-size: _rem(12px);
    // font-weight: 500;
}

</style>